package org.jeecg.modules.project.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @Description: bim_project_floor
 * @Author: jeecg-boot
 * @Date:   2023-04-13
 * @Version: V1.0
 */
@Data
@TableName("bim_project_floor")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bim_project_floor对象", description="bim_project_floor")
public class BimProjectFloor implements Serializable {
    private static final long serialVersionUID = 1L;

	/**楼层编码*/
    @TableId(type = IdType.AUTO)
    @Excel(name = "楼层编码", width = 15)
    @ApiModelProperty(value = "楼层编码")
    private Integer floorId;
	/**楼栋编码*/
	@Excel(name = "楼栋编码", width = 15)
    @ApiModelProperty(value = "楼栋编码",required = true)
    @NotEmpty(message = "楼栋编码不能为空")
    private Integer buildId;
	/**楼层号*/
	@Excel(name = "楼层号", width = 15)
    @ApiModelProperty(value = "楼层号",required = true)
    @NotEmpty(message = "楼层号不能为空")
    private String floorNo;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
    private String remark;
    /**贴图信息*/
    @ApiModelProperty(value = "贴图信息")
    private String maps;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
    @JsonIgnore
    private String createUser;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    @JsonIgnore
    private Date createTime;
	/**删除(1:是,0:否)*/
	@Excel(name = "删除(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "删除(1:是,0:否)")
    @JsonIgnore
    private Integer delFlag;
}
